projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f4cdb5
)
mainloop: Ensure we reset running to True when rerun
author
Colin Walters
<walters@verbum.org>
Sun, 29 Jan 2012 18:29:31 +0000
(13:29 -0500)
committer
Colin Walters
<walters@verbum.org>
Sun, 29 Jan 2012 18:29:31 +0000
(13:29 -0500)
Otherwise we pretty much exit immediately...
src/ostbuild/pyostbuild/mainloop.py
patch
|
blob
|
history
diff --git
a/src/ostbuild/pyostbuild/mainloop.py
b/src/ostbuild/pyostbuild/mainloop.py
index cc72fb6a527f0f583b166e1bbc55ba4cf8b52f37..d56010b381a629b8342458968e09f6732c597c49 100644
(file)
--- a/
src/ostbuild/pyostbuild/mainloop.py
+++ b/
src/ostbuild/pyostbuild/mainloop.py
@@
-85,5
+85,6
@@
class Mainloop(object):
self._timeouts[i] = (remaining_ms, callback)
def run(self):
+ self._running = True
while self._running:
self.run_once()